add_compile_options(/std:c++17)
include_directories(
    D:/Opensource/skui/3rdparty/skia
    D:/Opensource/skui/3rdparty/skia/include
    D:/Opensource/skui/3rdparty/skia/tools/sk_app
    D:/Opensource/SDL/include
)
link_directories(
    D:/Opensource/skui/build/3rdparty/skia/Debug
    D:/Opensource/SDL/build
)

aux_source_directory(. code)
add_executable(skia_test ${code} 
    D:/Opensource/skui/3rdparty/skia/tools/sk_app/win/GLWindowContext_win.cpp
    D:/Opensource/skui/3rdparty/skia/tools/sk_app/win/RasterWindowContext_win.cpp
    #D:/Opensource/skui/3rdparty/skia/tools/sk_app/win/ANGLEWindowContext_win.cpp
    #D:/Opensource/skui/3rdparty/skia/tools/sk_app/win/D3D12WindowContext_win.cpp
    D:/Opensource/skui/3rdparty/skia/tools/sk_app/GLWindowContext.cpp
    D:/Opensource/skui/3rdparty/skia/tools/sk_app/Window.cpp
)
target_link_libraries(skia_test SDL2maind.lib SDL2-staticd.lib skia.lib Opengl32.lib Winmm.lib SetupAPI.lib Imm32.lib Version.lib)